package cn.demo.admin.example.service;

import cn.demo.admin.example.dao.DebugDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author Mr.css
 * @version 2023-05-10 17:23
 */
@Service
public class DebugService {

    @Resource
    private DebugDao dao;

    public List<Map<String, Object>> query(){
        return dao.select("SELECT 'field1', 'field2'");
    }
}
